Guided endodontic treatment